﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StyleMVVM.Validation
{
	public delegate IValidationContext CreateNewContextDelegate(object validationObject, bool monitor, bool shared);

	public interface IValidationContextProvider
	{
		IValidationContext ProvideContext(object validationObject,
		                                  bool monitor,
		                                  bool shared,
		                                  CreateNewContextDelegate createDelegate);
	}
}